<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
                             "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:s="http://jboss.com/products/seam/taglib"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:rich="http://richfaces.org/rich"
	xmlns:a="http://richfaces.org/a4j" template="/admin/template.xhtml">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	  <ui:define name="topnav">
            <ui:include src="/admin/menu.xhtml">
                <ui:param name="page" value="home" />
            </ui:include>
   </ui:define>
	<ui:define name="body">

		<h:form id="login">

			<rich:panel>
				<f:facet name="header">登陆</f:facet>

				<div class="menu1">
					<h:panelGrid columns="2" >
						
						<h:outputLabel for="username">用户名</h:outputLabel>
						<h:inputText id="username" value="#{identity.username}" size="14" />
	
						<h:outputLabel for="password">密码</h:outputLabel>
						<h:inputSecret id="password" value="#{identity.password}" size="14" />
						<h:outputLabel for="rememberMe">记住我</h:outputLabel>
						<h:selectBooleanCheckbox id="rememberMe"
							value="#{identity.rememberMe}" />
					</h:panelGrid>
				</div>
			</rich:panel>
			<div class="actionButtons" >
				<h:commandButton value="登陆" action="#{login.login}" style=" width : 48px; height : 21px;"/>				
					
			</div>
		</h:form>

	</ui:define>

</ui:composition>

